package com.tbryant.test.designpattern.zenofdesignpattern.factory.simplefactory.definition;

/**
 * @author TBryant
 * @date 2021/10/20 14:39
 */
public class Client {
    public static void main(String[] args) {
        AbstractProduct abstractProduct1 = ProductFactory.createProduct(Product1.class);
        AbstractProduct abstractProduct2 = ProductFactory.createProduct(Product2.class);
    }
}
